package com.s666.demo.exception;

import org.springframework.security.core.AuthenticationException;

/**
 * @author: 李瑾
 * @date: 2018/9/3
 * @description: 验证码错误
 */
public class VerifyException extends AuthenticationException {

    private String code;

    public VerifyException(String code, String message) {
        super(message);
        this.code = code;
    }

    public String getCode() {
        return this.code;
    }
}
